﻿using System;
using System.Threading.Tasks;

namespace bilibili下载.Interface
{
    public interface IScheduler
    {
        void Run(Action action);

        Task<T> Run<T>(Func<T> func);
    }
}